/*
 * @Author: 肖芬芳 10547202+xiao-fenfang@user.noreply.gitee.com
 * @Date: 2022-07-20 08:52:17
 * @LastEditors: 肖芬芳 1911683843@qq.com
 * @LastEditTime: 2022-11-28 15:19:54
 * @FilePath: \vue-api-serverc:\Users\Administrator\Desktop\vite-project\src\views\system\user\option.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { status } from '@/util/base/option'

export default {
    formItem: [
        {
            label: "用户名:",
            value: 'username',
            width: 5,
            type: 'text'

        }, {
            label: '电话号码:',
            value: 'phone',
            width: 5,
            type: 'text'
        },
        {
            label: "角色:",
            value: 'role',
            width: 4,
            type: 'select',
            children: {},
            template:1,
        }, {
            label: "状态:",
            value: 'status',
            width: 4,
            type: 'select',
            children: status,
            template:0
        }
    ],
    tableTitle: [{
        label: '用户名',
        value: 'username',
    }, {
        label: '角色',
        value: 'role',
    }, {
        label: '手机号',
        value: 'phone'
    }, {
        label: '状态',
        value: 'status',
        slotname:'status',
        switch: 1
    }, {
        label: '创建时间',
        value: 'createTime'
    }, {
        label: '操作',
        slotname: 'btn'
    }],
}